package com.ag.dgm.dao;

import java.util.List;

import com.ag.bean.TbPlanType;
import com.ag.common.IDUtil;

/**
 * PlanType_DAO
 * 
 * @author �˹���
 * 
 */
public class TbPlanTypeDAO extends com.ag.dao.TbPlanTypeDAO {

	@Override
	public void delete(TbPlanType persistentInstance) {
		persistentInstance.setA(IDUtil.DELETE);
		super.save(persistentInstance);		
	}

	@Override
	public List<TbPlanType> findAll() {
		return super.findByA(IDUtil.PRESERVE);
	}

	
}
